<?xml version="1.0" encoding="utf-8"?>
<PDSFX xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xmlns ="urn:dsfx0"
        >
  <VERSION>1</VERSION>

  <SAMPLER>
    <NAME>diffuseTexture</NAME>
    <SAMPLER_DECLARATION>
      <SAMPLER_TYPE>sampler2D</SAMPLER_TYPE>
      <SAMPLER_OPTION_GRAMMAR>UseTexture</SAMPLER_OPTION_GRAMMAR>
    </SAMPLER_DECLARATION>
    <SAMPLER_SECONDARY_TYPE>color</SAMPLER_SECONDARY_TYPE>
  </SAMPLER>

  <SAMPLER_STATE>
    <NAME>diffuseSampler</NAME>
    <MAG_FILTER>Linear</MAG_FILTER>
    <MIN_FILTER>Linear</MIN_FILTER>
    <MIP_FILTER>None</MIP_FILTER>
    <WRAP_U>Repeat</WRAP_U>
    <WRAP_V>Repeat</WRAP_V>
    <WRAP_W>Repeat</WRAP_W>
    <BORDER_COLOR>0.0 0.0 0.0 1.0</BORDER_COLOR>
  </SAMPLER_STATE>

  <TECHNIQUE>
    <NAME>Default</NAME>
    <PASS>
      <NAME>Default</NAME>
      <SAMPLER_ASSIGNMENT_LIST>
        <SAMPLER_ASSIGNMENT>
          <SAMPLER>diffuseTexture</SAMPLER>
          <STATES>diffuseSampler</STATES>
        </SAMPLER_ASSIGNMENT>
        <SAMPLER_ASSIGNMENT>
          <SAMPLER>IBLDiffuseTexture</SAMPLER>
          <STATES>CubeSampler</STATES>
        </SAMPLER_ASSIGNMENT>
        <SAMPLER_ASSIGNMENT>
          <SAMPLER>IBLSpecularTexture</SAMPLER>
          <STATES>CubeSampler</STATES>
        </SAMPLER_ASSIGNMENT>
        <SAMPLER_ASSIGNMENT>
          <SAMPLER>ShadowCubeMapTex</SAMPLER>
          <STATES>CubeSampler</STATES>
        </SAMPLER_ASSIGNMENT>
        <SAMPLER_ASSIGNMENT>
          <SAMPLER>shadowMapTex</SAMPLER>
          <STATES>shadowSampler</STATES>
        </SAMPLER_ASSIGNMENT>
        <SAMPLER_ASSIGNMENT>
          <SAMPLER>shadowMapTex2</SAMPLER>
          <STATES>LinearClampToBorder</STATES>
        </SAMPLER_ASSIGNMENT>
        <SAMPLER_ASSIGNMENT>
          <SAMPLER>shadowMapESMTex</SAMPLER>
          <STATES>LinearWithMips</STATES>
        </SAMPLER_ASSIGNMENT>
      </SAMPLER_ASSIGNMENT_LIST>
      <STREAMS>
        <STREAM>
          <STAGES>Vertex_Fragment</STAGES>
          <VARYING>
            <NAME>vColor</NAME>
            <TYPE>float4</TYPE>
            <OPTION>VertexColor</OPTION>
          </VARYING>
          <VARYING>
            <NAME>vTexCoord</NAME>
            <TYPE>float3</TYPE>            
          </VARYING>          
        </STREAM>
      </STREAMS>
      <LIGHTING>true</LIGHTING>
      <COMMONS>Base_Helpers</COMMONS>
      <VERTEX_STAGE>Base_DefaultVS_1.1</VERTEX_STAGE>
      <FRAGMENT_STAGE>Base_DefaultPS_1.1</FRAGMENT_STAGE>
    </PASS>
  </TECHNIQUE>

</PDSFX>
